package org.jeecg.modules.zcgl.vo.statistical;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

/**
 * @author 尹涛 * @version V1.0.0
 * @projectName kangxiang-parent
 * @title PersonalOnlinePlatformPaymentVo
 * @package org.jeecg.modules.zcgl.vo.statistical
 * @description 个人在线平台支付对账表
 * @date 2021/6/17
 */
@Data
public class PersonalOnlinePlatformPaymentVo {

    @Excel(name = "客户信息", width = 15, dictTable = "zcgl_customer_info", dicText = "CONCAT_WS( ';', `name`, phone )", dicCode = "id", pullDown = false)
    @Dict(dictTable = "zcgl_customer_info", dicText = "CONCAT_WS( ' ', `name`, phone )", dicCode = "id")
    @ApiModelProperty(value = "客户信息")
    private String customerId;

    @Excel(name = "客户电话", width = 15)
    @ApiModelProperty(value = "客户电话")
    private String phone;

    @Excel(name = "客户身份证", width = 15)
    @ApiModelProperty(value = "客户身份证")
    private String code;

    @Excel(name = "账单编码", width = 15)
    @ApiModelProperty(value = "账单编码")
    private String payablesNo;

    @Excel(name = "合同信息", width = 15, dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @Dict(dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @ApiModelProperty(value = "合同信息")
    private String leaseContractId;

    @Excel(name = "管理单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "管理单位")
    private String companyId;

    @Excel(name = "出租方", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "出租方")
    private String rentCompanyId;

    @Excel(name = "入账账户", width = 15)
    @ApiModelProperty(value = "入账账户")
    private java.lang.String accountNo;

    @Excel(name = "应付金额", width = 15)
    @ApiModelProperty(value = "应付金额")
    private BigDecimal amountPayable;

    @Excel(name = "实付金额", width = 15)
    @ApiModelProperty(value = "实付金额")
    private BigDecimal amountRealPay;

    @Excel(name = "交易单号", width = 15)
    @ApiModelProperty(value = "交易单号")
    private java.lang.String tradeNo;

    @Excel(name = "时间戳", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间戳")
    private java.util.Date tradeDateTime;

    @Excel(name = "支付方式", width = 15, dicCode = "pay_type")
    @Dict(dicCode = "pay_type")
    @ApiModelProperty(value = "支付方式")
    private Integer payType;

    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;


    //查询参数
    private String selections;
}
